/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-12-20 14:36:52
 */
import axios from '@/api/fetch';
import * as types from './types';
import SERVER from '@/api/server';

// 查询组织列表
export const getDealerCompanyByCode = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/dealer/getDealerChannelByCode`, { params });
export const getlistAllData = params => axios.get(`api/basedata/region/listAllData`);



//获取  
export const dealerPictures = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/dealerInfo/dealerPictures`, { params });
//保存
export const postDealerPicture = params => axios.post(`${SERVER.DMSCLOUD_BASEDATA}/dealerInfo/dealerPicture`,  params);
